package com.example.userconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author TonySong
 * @date 2024/4/16 0016
 * @time 11:04
 */
@FeignClient(name = "USER-PROVIDER")
public interface FeignService {


    @GetMapping("/users")
    public String findAll();
}
